<template>
    <MyLayoutTB>
        <template #top>
            <MyHeader></MyHeader>
        </template>
        <template #bottom>
            <RouterView></RouterView>
        </template>
    </MyLayoutTB>
</template>

<script setup lang="ts">
import MyLayoutTB from './views/LayoutTB.vue';
import MyHeader from './views/Header.vue';

const route = useRoute();

watchEffect(() => {
    MyStore.useApp().setRoute(route);
});
</script>

<style scoped></style>
